package com.dc.entity.vo;

import com.dc.entity.InspectionRoute;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel
public class RoutePositionVO {

    @ApiModelProperty(value = "巡检区域id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;
    @ApiModelProperty(value = "巡检区域")
    private String regionName;
    @ApiModelProperty(value = "巡检点名称")
    private String positionName;
    @ApiModelProperty(value = "巡检点id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long positionId;
    @ApiModelProperty(value = "巡检点位置")
    private String address;
    @ApiModelProperty(value = "路线集合")
    private List<InspectionRoute> routeInfo;


}
